package com.itheima.Thread;

public class food_test {
    public static void main(String[] args) {
       //创建线程对象
        cook c =new cook();
        foodie f =new foodie();

        c.setName("chef");
        f.setName("foodie");

        c.start();
        f.start();

    }
}
